import 'package:flutter/material.dart';
import 'package:flutter/src/painting/text_style.dart';
import 'package:flutter/src/rendering/flex.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter/src/widgets/icon.dart';

import '../bean/AbstactCardContainerBean.dart';


abstract class CardContainer extends StatelessWidget with MixinContainer{
  @override
  bool? autoValidate;

  @override
  Widget? content;

  @override
  String? errorText;

  @override
  bool? isRequired;

  @override
  String? label;

  @override
  String? hintLabel;
  @override
  MainAxisAlignment? labelAlign;

  @override
  double? labelIconSize;

  @override
  TextStyle? labelStyle;

  @override
  Widget? labelSuffix;

  @override
  double? labelWitch;

  @override
  Icon? leftIcon;

  @override
  Icon? rightIcon;

  @override
  bool? showLine;

  @override
  bool? visible;

  @override
  bool? readOnly;

  CardContainer({
    Key? key,
    this.label,
    this.labelAlign,
    this.labelStyle,
    this.labelIconSize,
    this.labelWitch,
    this.content,
    this.rightIcon,
    this.errorText,
    this.visible,
    this.leftIcon,
    this.isRequired = false,
    this.autoValidate,
    this.showLine = true,
    this.labelSuffix,
    this.hintLabel,
    this.readOnly
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
      return buildView(context);
  }

  buildView(BuildContext context);




}